package com.example.demo.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;

/**
 * 教师权限申请审批实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TeacherApproval extends BaseEntity {
    private Integer approvalId;
    private Integer userId;
    private String requestedRole;  // DEPARTMENT_ADMIN, MAJOR_ADMIN, CLASS_ADMIN, TEACHER
    private String approvalStatus; // PENDING, APPROVED, REJECTED
    private String approvalComment;
    private Integer approverId;
    private Date requestTime;
    private Date approvalTime;
    
    // 非数据库字段，关联信息
    private String usercode;
    private String fullName;
    private String email;
    private String teacherCode;
    private String title;
    private String orgName;
    private String approverName;
} 